<div class="form-row">
	<label for="" class="radiolabel"><?=$this->label?></label>
	<? foreach ($this->options as $key => $option) : ?>
		<? if (!empty($this->checked) && $this->checked == $key) : ?>
			<input type="radio" checked="checked" name="<?=$this->name?>" value="<?=$key?>" id="<?=($uniqid = uniqid())?>"/>
			<label class="radiolabel inline-label" for="<?=$uniqid?>"><?=$option?></label>
		<? elseif (empty($this->checked) && $key == $this->defaultoption) : ?>
			<input type="radio" checked="checked" name="<?=$this->name?>" value="<?=$key?>" id="<?=($uniqid = uniqid())?>"/>
			<label class="radiolabel inline-label" for="<?=$uniqid?>"><?=$option?></label>
		<? else : ?>
			<input type="radio" name="<?=$this->name?>" value="<?=$key?>" id="<?=($uniqid = uniqid())?>"/>
			<label class="radiolabel inline-label" for="<?=$uniqid?>"><?=$option?></label>
		<? endif; ?>
	<? endforeach; ?>
</div>
